package com.scraper;

/**
 * This class represents a data structure used to hold URLs and their description.
 * @author Micah Perry
 *
 */
public class Link {
	/**
	 * String representation of a URL.
	 */
	public String url = ""; 
	
	/**
	 * Description of a given URL. 
	 */
	public String description = "";
	
	/**
	 * This constructor sets the url field to the given String URL.
	 * @param inputURL Input URL
	 */
	public Link(String inputURL){
		url = inputURL; 
	}
	
	/**
	 * This constructor sets the url field to the given String URL and also sets the 
	 * description field to the given String URL description. 
	 * @param inputURL Input URL
	 * @param inputDescription Input URL description.
	 */
	public Link(String inputURL, String inputDescription){
		url = inputURL; 
		description = inputDescription;
	}
}